      <center>
        <br><br><br>
        <h1>User Management</h1>
        <br><br>

        <div class="table_container" style="width:350px;">
          <div class="table_header">
            <div style="float: right">
              <a href="index.php?admin&action=4">
                <img src="images/icons/add.png" border="0" title="Add User">
              </a>Add User
            </div>
          </div>
          <div class="table_content">
            <table width="100%">
              <tr>
                <th align="left">Username</th>
                <th align="center">Status</th>
                <th></th>
              </tr>
<?foreach($users as $user): extract($user);?>
              <tr>
                <td align="left"><?=$login?></td>
                <td align="center">
                  <? switch ($access) {
                    case 1:
                      echo "Author";
                      break;
                    case 2:
                      echo "Editor";
                      break;
                    case 3:
                      echo "Admin";
                      break;
                    }?>
                </td>
                <td align="right">
                  <a href="index.php?admin&id=<?=$id?>&action=1">
                    <img src="images/icons/edit.png" border="0" title="Edit User">
                  </a>&nbsp;
                  <a href="index.php?admin&id=<?=$id?>&action=3" onClick="return confirm('Really delete this user?');">
                    <img src="images/icons/delete.png" border="0" title="Delete Admin">
                  </a>
                </td>
              </tr>
<?endforeach;?>
            </table>
          </div>
        </div>
      </center>